package com.xm.biz.impl;

import com.xm.biz.OrderSettlementsBiz;
import com.xm.dao.OrderSettlementsDao;
import com.xm.dao.impl.OrderSettlementsDaoImpl;
import com.xm.po.OrderSettlements;

import java.util.List;

/**
 * @author Administrator
 * @date 2020-08-19-10:31
 * @description 订单结算数据业务逻辑接口实现类
 */
public class OrderSettlementsBizImpl implements OrderSettlementsBiz {
    OrderSettlementsDao orderSettlementsDao=new OrderSettlementsDaoImpl();
    @Override
    public List<OrderSettlements> getAll() {
        return orderSettlementsDao.getAll();
    }

    @Override
    public boolean add(OrderSettlements orderSettlements) {
        return orderSettlementsDao.add(orderSettlements);
    }
}
